package com.eedi.framework.template.enums;

import com.eedi.framework.common.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * 模版类型枚举类
 *
 * @author 永聚长青源码
 */
@Getter
@AllArgsConstructor
@ToString
public enum SysTemplateTypeEnum implements BaseEnum<Integer,String> {
    // 目录
    SYS(1,"系统级模版"),
    // 菜单
    ORG(2,"机构级模版")
    ;

    /**
     * 类型
     */
    private final Integer code;

    private final String desc;

    @Override
    public String title() {
        return "模版类型枚举类";
    }
}
